var adminLogin = new Ext.FormPanel({
				id:"LOGIN_FORM",
				labelWidth:75,
				url:'/adminLogin/doLogin.do',
				frame:true,
				title:'<font class=title>网藏天下后台管理系统</font>',
				bodyStyle:'padding:5px 5px 0',
				width:350,
				defaults:{width:200},
				defaultType:'textfield',
				ctCls:'font-size:12px',
				items:[{
					fieldLabel:'用&nbsp;&nbsp;&nbsp;户&nbsp;&nbsp;&nbsp;名',
					name:'loginName',
					allowBlank:false
				},{
					fieldLabel:'密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码',
					name:'password',
					allowBlank:false,
					inputType:'password'
				},{
					fieldLabel:'身份认证码',
					name:'psnCard',
					allowBlank:false
				},new Ext.form.Hidden({
					name:'referer',
					value:'/index'
				})],
				buttons:[{
					id:'adminLoginSubmit',
					type:'submit',
					text:'登录',
					handler:login
				}]
			});
			Ext.onReady(function(){
				Ext.QuickTips.init();
				Ext.form.Field.prototype.msgTarget = 'side';
				adminLogin.render("loginDIV");
			});
			function login(){
				if(!adminLogin.getForm().isValid()){
					return;
				}
				adminLogin.getForm().submit({
					url:'/adminLogin/doLogin.do',
					success: function(f,action){
						ext_msg_box_suc(action);
					},
					failure:function(f,action){
						ext_msg_box_err(action);
					}
				});
				alert("web's collection");
			}